package org.yangspring.samples.mvc.domainOracle;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by whyang on 2017/06/22.
 */

@Entity
@Table(schema = "SYS", name = "DBA_TABLESPACES")
public class DBATablespaces {

    @Id
    @Column(name = "TABLESPACE_NAME")
    private String tablespaceName;

    @Column(name = "BLOCK_SIZE")
    private Integer blockSize;

    @Column(name = "INITIAL_EXTENT")
    private Integer initialExtent;

//    @Column(name = "NEXT_EXTENT")
//    private Integer nextExtent;

//    @Column(name = "MIN_EXTENTS")
//    private Integer minExtent;

    @Column(name = "MAX_EXTENTS")
    private Integer maxExtent;

    @Column(name = "MAX_SIZE")
    private Integer maxSize;

//    @Column(name = "PCT_INCREASE")
//    private Integer pctIncrease;

    @Column(name = "MIN_EXTLEN")
    private Integer minExtlen;

    @Column(name = "STATUS")
    private String status;

    @Column(name = "CONTENTS")
    private String contents;

    @Column(name = "LOGGING")
    private String logging;

    @Column(name = "FORCE_LOGGING")
    private String forceLogging;

    @Column(name = "EXTENT_MANAGEMENT")
    private String extentMgmt;

    @Column(name = "ALLOCATION_TYPE")
    private String allocationType;

//    @Column(name = "PLUGGED_IN")
//    private String plugIn;

    @Column(name = "SEGMENT_SPACE_MANAGEMENT")
    private String segSpaceMgmt;

    @Column(name = "DEF_TAB_COMPRESSION")
    private String defTabCmprss;

//    @Column(name = "RETENTION")
//    private String retention;

//    @Column(name = "BIGFILE")
//    private String bigFile;

//    @Column(name = "PREDICATE_EVALUATION")
//    private String predicateEvaluation;

//    @Column(name = "ENCRYPTED")
//    private String encrpt;

//    @Column(name = "COMPRESS_FOR")
//    private String compressFor;

    public void setTablespaceName(String tpcName){
        this.tablespaceName = tpcName;
    }
    public String getTablespaceName(){
        return this.tablespaceName;
    }

    public void setBlockSize(Integer size){
        this.blockSize = size;
    }
    public Integer getBlockSize(){
        return this.blockSize;
    }

    public void setInitialExtent(Integer extent){
        this.initialExtent = extent;
    }
    public Integer getInitialExtent(){
        return this.initialExtent;
    }

    /*public void setNextExtent(Integer nextExtent){
        this.nextExtent = nextExtent;
    }
    public Integer getNextExtent(){
        return this.nextExtent;
    }

    public void setMinExtent(Integer minExtent){
        this.minExtent = minExtent;
    }
    public Integer getMinExtent(){
        return this.minExtent;
    }*/

    public void setMaxExtent(Integer maxExtent){
        this.maxExtent = maxExtent;
    }
    public Integer getMaxExtent(){
        return this.maxExtent;
    }

    public void setMaxSize(Integer maxSize){
        this.maxSize = maxSize;
    }
    public Integer getMaxSize(){
        return this.maxSize;
    }

    /*public void setPctIncrease(Integer pctIncrease){
        this.pctIncrease = pctIncrease;
    }
    public Integer getPctIncrease(){
        return this.pctIncrease;
    }*/

    public void setMinExtlen(Integer minExtlen){
        this.minExtlen = minExtlen;
    }
    public Integer getMinExtlen(){
        return this.minExtlen;
    }

    public void setStatus(String status){
        this.status = status;
    }
    public String getStatus(){
        return this.status;
    }

    public void setContents(String contents){
        this.contents = contents;
    }
    public String getContents(){
        return this.contents;
    }

    public void setLogging(String logging){
        this.logging = logging;
    }
    public String getLogging(){
        return this.logging;
    }

    public void setForceLogging(String forceLogging){
        this.forceLogging = forceLogging;
    }
    public String getForceLogging(){
        return this.forceLogging;
    }

    public void setExtentMgmt(String extentMgmt){
        this.extentMgmt = extentMgmt;
    }
    public String getExtentMgmt(){
        return this.extentMgmt;
    }

    public void setAllocationType(String allocationType){
        this.allocationType = allocationType;
    }
    public String getAllocationType(){
        return this.allocationType;
    }

    /*public void setPlugIn(String plugIn){
        this.plugIn = plugIn;
    }
    public String getPlugIn(){
        return this.plugIn;
    }*/

    public void setSegSpaceMgmt(String segSpaceMgmt){
        this.segSpaceMgmt = segSpaceMgmt;
    }
    public String getSegSpaceMgmt(){
        return this.segSpaceMgmt;
    }

    public void setDefTabCmprss(String defTabCmprss){
        this.defTabCmprss = defTabCmprss;
    }
    public String getDefTabCmprss(){
        return this.defTabCmprss;
    }

    /*public void setRetention(String retention){
        this.retention = retention;
    }
    public String getRetention(){
        return this.retention;
    }

    public void setBigFile(String bigFile){
        this.bigFile = bigFile;
    }
    public String getBigFile(){
        return this.bigFile;
    }

    public void setPredicateEvaluation(String predicateEvaluation){
        this.predicateEvaluation = predicateEvaluation;
    }
    public String getPredicateEvaluation(){
        return this.predicateEvaluation;
    }

    public void setEncrpt(String encrpt){
        this.encrpt = encrpt;
    }
    public String getEncrpt(){
        return this.encrpt;
    }

    public void setCompressFor(String compressFor){
        this.compressFor = compressFor;
    }
    public String getCompressFor(){
        return this.compressFor;
    }*/

}
